package com.vito.framework.system.org.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vito.framework.system.org.model.OrgBean;
import com.vito.framework.system.role.model.RoleBean;
import com.vito.framework.system.user.model.UserBean;

import java.util.List;
import java.util.Map;

public interface OrgManageMapper extends BaseMapper<OrgBean> {
	List<OrgBean> getDeleteingOrgManager(Map<String, Object> paramMap);

	void deleteUserRole(Map<String, Object> paramMap);

	void deleteOrgUser(Map<String, Object> paramMap);

	void deleteRoleMenu(Map<String, Object> paramMap);

	void deleteSysRole(Map<String, Object> paramMap);

	void deleteSysOrgMenu(Map<String, Object> paramMap);

	OrgBean getOrgManageById(Map<String, Object> paramMap);

	List<OrgBean> getOrgManageList(Map<String, Object> paramMap);

	List<OrgBean> getOrgManageListById(Map<String, Object> paramMap);

	void insertOrgManage(OrgBean si);

	void insertOrgList(List<OrgBean> list);

	String getOrgEditCount(Map<String, Object> map);

	void updateOrgManage(OrgBean si);

	void deleteOrgMenu(Map<String, Object> map);

	void insertOrgMenu(Map<String, Object> map);

	List<String> getMenus(Map<String, Object> paramMap);

	String getRoleId();

	void insertOrgRole(RoleBean roleBean);

	void insertRoleMenu(RoleBean roleBean);

	void insertOrgUser(UserBean userBean);

	void insertUserRole(RoleBean roleBean);

	void deleteOrgManage(Map<String, Object> paramMap);

	String getOrgLevel(String orgId);
	List<OrgBean> getOrgManageByMenuId(String menuId);
}
